package com.longshihan.carservice.service.notice;

import com.github.pagehelper.PageInfo;
import com.longshihan.carservice.model.NoticeDomain;

public interface NoticeService {

    int addNotice(NoticeDomain domain) ;

    int delNotice(String id);

    NoticeDomain getNoticeById(String id);

    PageInfo<NoticeDomain> getNotices(String userId, int pageNum, int pageSize);
}
